<?php

/**
 * Created by PhpStorm.
 * User: dingxiaolin
 * Date: 2021-03-02
 * Time: 23:43
 */

namespace app\test\controller;

class Index
{
    public function __construct()
    {
        echo 'construct';
    }

    public function index()
    {
        return 'hello yunzhi';
    }
}

$index = new Index();